Class: UDRS::Components::Spacer

Inherits:
Object
  • Object
show all
Defined in:
lib/udrs/components/spacer.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#amountObject (readonly)

Returns the value of attribute amount.



4
5
6
# File 'lib/udrs/components/spacer.rb', line 4

def amount
  @amount
end