module Bash_Visual::FixedObject

Attributes

height[RW]
width[RW]
x[RW]
y[RW]

Public Instance Methods

position() click to toggle source
# File lib/bash-visual/fixed_object.rb, line 7
def position
  [@x, @y]
end
size() click to toggle source
# File lib/bash-visual/fixed_object.rb, line 11
def size
  [@width, @height]
end