class Whatever
Factory that accepts whatever given and uses it directly – no nothin’
Public Class Methods
new(options={})
click to toggle source
Calls superclass method
# File lib/gorillib/factories.rb, line 184 def initialize(options={}) options.slice!(:convert, :blankish) super(options) end
receive(obj)
click to toggle source
# File lib/gorillib/factories.rb, line 191 def self.receive(obj) obj end
Public Instance Methods
blankish?(obj)
click to toggle source
# File lib/gorillib/factories.rb, line 189 def blankish?(obj) false ; end
native?(obj)
click to toggle source
# File lib/gorillib/factories.rb, line 188 def native?(obj) true ; end
receive(obj)
click to toggle source
# File lib/gorillib/factories.rb, line 190 def receive(obj) obj ; end