Class: UDRS::Components::Code

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(code) ⇒ Code

Returns a new instance of Code.



6
7
8
# File 'lib/udrs/components/code.rb', line 6

def initialize(code)
	@code = code
end

Instance Attribute Details

#codeObject (readonly)

Returns the value of attribute code.



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

def code
  @code
end