Class: Yattho::Forms::Dsl::SelectListInput::Option

Inherits:
Object
  • Object
show all
Defined in:
lib/yattho/forms/dsl/select_list_input.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(label:, value:, **system_arguments) ⇒ Option

Returns a new instance of Option.



14
15
16
17
18
# File 'lib/yattho/forms/dsl/select_list_input.rb', line 14

def initialize(label:, value:, **system_arguments)
  @label = label
  @value = value
  @system_arguments = system_arguments
end

Instance Attribute Details

#labelObject (readonly)

Returns the value of attribute label.



12
13
14
# File 'lib/yattho/forms/dsl/select_list_input.rb', line 12

def label
  @label
end

#system_argumentsObject (readonly)

Returns the value of attribute system_arguments.



12
13
14
# File 'lib/yattho/forms/dsl/select_list_input.rb', line 12

def system_arguments
  @system_arguments
end

#valueObject (readonly)

Returns the value of attribute value.



12
13
14
# File 'lib/yattho/forms/dsl/select_list_input.rb', line 12

def value
  @value
end