Class: Scorpion::Hunt::Trip
- Inherits:
-
Object
- Object
- Scorpion::Hunt::Trip
- Defined in:
- lib/scorpion/hunt.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#arguments ⇒ Object
readonly
Returns the value of attribute arguments.
-
#block ⇒ Object
readonly
Returns the value of attribute block.
-
#contract ⇒ Object
readonly
Returns the value of attribute contract.
-
#object ⇒ Object
Returns the value of attribute object.
Instance Method Summary collapse
-
#initialize(contract, arguments, block) ⇒ Trip
constructor
A new instance of Trip.
Constructor Details
#initialize(contract, arguments, block) ⇒ Trip
Returns a new instance of Trip.
157 158 159 160 161 |
# File 'lib/scorpion/hunt.rb', line 157 def initialize( contract, arguments, block ) @contract = contract @arguments = arguments @block = block end |
Instance Attribute Details
#arguments ⇒ Object (readonly)
Returns the value of attribute arguments.
152 153 154 |
# File 'lib/scorpion/hunt.rb', line 152 def arguments @arguments end |
#block ⇒ Object (readonly)
Returns the value of attribute block.
153 154 155 |
# File 'lib/scorpion/hunt.rb', line 153 def block @block end |
#contract ⇒ Object (readonly)
Returns the value of attribute contract.
151 152 153 |
# File 'lib/scorpion/hunt.rb', line 151 def contract @contract end |
#object ⇒ Object
Returns the value of attribute object.
155 156 157 |
# File 'lib/scorpion/hunt.rb', line 155 def object @object end |