Class: UDRS::Components::Raw

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#blockObject (readonly)

Returns the value of attribute block.



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

def block
  @block
end