Class: AbstractMarkupLanguage

Inherits:
Object
  • Object
show all
Defined in:
lib/aml.rb

Overview

Entry Point for Abstract Markup Language

Instance Method Summary collapse

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