Class: Hash

Inherits:
Object
  • Object
show all
Defined in:
lib/tinatra.rb

Instance Method Summary collapse

Instance Method Details

#transaction {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (Hash)

    the object that the method was called on



9
10
11
# File 'lib/tinatra.rb', line 9

def transaction
  yield self
end