Class: FakeDbEntry
- Inherits:
-
Object
- Object
- FakeDbEntry
- Defined in:
- lib/atig/command/command_helper.rb
Instance Method Summary collapse
-
#initialize(name) ⇒ FakeDbEntry
constructor
A new instance of FakeDbEntry.
- #transaction(&f) ⇒ Object
Constructor Details
#initialize(name) ⇒ FakeDbEntry
Returns a new instance of FakeDbEntry.
56 57 58 |
# File 'lib/atig/command/command_helper.rb', line 56 def initialize(name) @name = name end |
Instance Method Details
#transaction(&f) ⇒ Object
60 61 62 |
# File 'lib/atig/command/command_helper.rb', line 60 def transaction(&f) f.call self end |