Module: Solidity

Defined in:
lib/solidity/lexer.rb,
lib/solidity/parser.rb,
lib/solidity/version.rb

Defined Under Namespace

Classes: Lexer, Parser

Constant Summary collapse

MAJOR =
0
MINOR =
2
PATCH =
0
VERSION =
[MAJOR,MINOR,PATCH].join('.')

Class Method Summary collapse

Class Method Details



12
13
14
# File 'lib/solidity/version.rb', line 12

def self.banner
  "solidity/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}] in (#{root})"
end

.rootObject



16
17
18
# File 'lib/solidity/version.rb', line 16

def self.root
  File.expand_path( File.dirname(File.dirname(File.dirname(__FILE__))) )
end

.versionObject



8
9
10
# File 'lib/solidity/version.rb', line 8

def self.version
  VERSION
end