Class: Resultify::Option

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(ret_val) ⇒ Option

Returns a new instance of Option.



41
42
43
# File 'lib/resultify.rb', line 41

def initialize(ret_val)
  @value = ret_val
end

Instance Attribute Details

#blank_handlerObject

Returns the value of attribute blank_handler.



38
39
40
# File 'lib/resultify.rb', line 38

def blank_handler
  @blank_handler
end

#value_handlerObject

Returns the value of attribute value_handler.



39
40
41
# File 'lib/resultify.rb', line 39

def value_handler
  @value_handler
end