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