# File lib/scruffy/components/base.rb, line 12 def initialize(id, options = {}) @id = id.to_sym @position = options[:position] || [0, 0] @size = options[:size] || [100, 100] @visible = options[:visible] || true @options = options end