Class: Object

Inherits:
BasicObject
Extended by:
Docable
Defined in:
lib/amp/support/docs.rb,
lib/amp/dependencies/zip/stdrubyext.rb,
lib/amp/support/ruby_19_compatibility.rb,
lib/amp/dependencies/maruku/structures_inspect.rb,
lib/amp/support/support.rb

Instance Method Summary collapse

Methods included from Docable

docs_for, tag_callback, tag_callbacks

Instance Method Details

#inspect_more(a = nil, b = nil) ⇒ Object



30
31
32
# File 'lib/amp/dependencies/maruku/structures_inspect.rb', line 30

def inspect_more(a=nil,b=nil)
	inspect
end

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

Because tap isn’t defined in 1.8.6

Yields:

  • (_self)

Yield Parameters:

  • _self (Object)

    the object that the method was called on



206
207
208
209
# File 'lib/amp/support/support.rb', line 206

def tap
  yield self
  self
end