Class: History
- Inherits:
-
Object
- Object
- History
- Defined in:
- lib/base/history.rb
Instance Attribute Summary collapse
-
#dev ⇒ Object
Returns the value of attribute dev.
Instance Method Summary collapse
- #get_work_command(value) ⇒ Object
-
#initialize(dev = nil) ⇒ History
constructor
A new instance of History.
Constructor Details
#initialize(dev = nil) ⇒ History
Returns a new instance of History.
6 7 8 9 |
# File 'lib/base/history.rb', line 6 def initialize dev=nil @dev=dev @dev=Dev.new if @dev.nil? end |
Instance Attribute Details
#dev ⇒ Object
Returns the value of attribute dev.
4 5 6 |
# File 'lib/base/history.rb', line 4 def dev @dev end |
Instance Method Details
#get_work_command(value) ⇒ Object
11 12 13 |
# File 'lib/base/history.rb', line 11 def get_work_command value nil end |