Class: Amrita2::Util::Option

Inherits:
Object
  • Object
show all
Includes:
OptionSupport
Defined in:
lib/amrita2/template.rb

Instance Attribute Summary

Attributes included from OptionSupport

#opt

Instance Method Summary collapse

Methods included from OptionSupport

#[], #method_missing, #parse_opt

Constructor Details

#initialize(*args) ⇒ Option

Returns a new instance of Option.



291
292
293
# File 'lib/amrita2/template.rb', line 291

def initialize(*args)
  parse_opt(*args)
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Amrita2::Util::OptionSupport