class HelloListSingleSelection::Person
Attributes
country[RW]
country_options[RW]
Public Class Methods
new()
click to toggle source
# File lib/glimmer-dsl-opal/samples/hello/hello_list_single_selection.rb, line 26 def initialize self.country_options = ['', 'Canada', 'US', 'Mexico'] reset_country end
Public Instance Methods
reset_country()
click to toggle source
# File lib/glimmer-dsl-opal/samples/hello/hello_list_single_selection.rb, line 31 def reset_country self.country = 'Canada' end