Module: Coco::Concerns::AcceptsOptions

Instance Method Summary collapse

Instance Method Details

#accepted_optionsObject



18
19
20
# File 'app/components/coco/concerns/accepts_options.rb', line 18

def accepted_options
  @_accepted_options ||= self.class.option_group.clone
end

#get_option_groupObject



14
15
16
# File 'app/components/coco/concerns/accepts_options.rb', line 14

def get_option_group(...)
  accepted_options.get_group(...)
end