class HelloCombo::Person

Attributes

country[RW]
country_options[RW]

Public Class Methods

new() click to toggle source
# File lib/glimmer-dsl-opal/samples/hello/hello_combo.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_combo.rb, line 31
def reset_country!
  self.country = 'Canada'
end