Class: AbstractMarkupLanguage
- Inherits:
-
Object
- Object
- AbstractMarkupLanguage
- Defined in:
- lib/aml.rb
Overview
Entry Point for Abstract Markup Language
Instance Method Summary collapse
-
#initialize(argument) ⇒ AbstractMarkupLanguage
constructor
A new instance of AbstractMarkupLanguage.
Constructor Details
#initialize(argument) ⇒ AbstractMarkupLanguage
Returns a new instance of AbstractMarkupLanguage.
4 5 6 7 8 9 10 |
# File 'lib/aml.rb', line 4 def initialize(argument) if ['--v', '--version', 'version'].include? argument.downcase puts Gem.loaded_specs['aml'].version.to_s else @build = Build.new(argument) end end |