Class: Yaks::Resource::Form::Legend

Inherits:
Object
  • Object
show all
Defined in:
lib/yaks/resource/form/legend.rb

Instance Method Summary collapse

Constructor Details

#initialize(opts) ⇒ Legend

Returns a new instance of Legend.



7
8
9
# File 'lib/yaks/resource/form/legend.rb', line 7

def initialize(opts)
  super(opts.merge(type: :legend))
end