Class: UDRS::Components::Spacer
- Inherits:
-
Object
- Object
- UDRS::Components::Spacer
- Defined in:
- lib/udrs/components/spacer.rb
Instance Attribute Summary collapse
-
#amount ⇒ Object
readonly
Returns the value of attribute amount.
Instance Method Summary collapse
-
#initialize(amount) ⇒ Spacer
constructor
A new instance of Spacer.
Constructor Details
#initialize(amount) ⇒ Spacer
Returns a new instance of Spacer.
6 7 8 |
# File 'lib/udrs/components/spacer.rb', line 6 def initialize(amount) @amount = amount end |
Instance Attribute Details
#amount ⇒ Object (readonly)
Returns the value of attribute amount.
4 5 6 |
# File 'lib/udrs/components/spacer.rb', line 4 def amount @amount end |