Class: Satis::Menus::Builder

Inherits:
Object
  • Object
show all
Defined in:
lib/satis/menus/builder.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#optionsObject (readonly)

Returns the value of attribute options.



6
7
8
# File 'lib/satis/menus/builder.rb', line 6

def options
  @options
end

Class Method Details

.build(*args, **kwargs, &block) ⇒ Object



8
9
10
# File 'lib/satis/menus/builder.rb', line 8

def self.build(*args, **kwargs, &block)
  Menu.new(*args, **kwargs, &block)
end