Module: Babel

Defined in:
lib/babel.rb

Class Method Summary collapse

Class Method Details

.gem_root_dirObject



10
11
12
# File 'lib/babel.rb', line 10

def self.gem_root_dir
  @gem_root_dir ||= File.expand_path('../..', __FILE__)
end

.options {|@options| ... } ⇒ Object

Yields:



4
5
6
7
8
# File 'lib/babel.rb', line 4

def self.options
  @options ||= {}
  yield @options if block_given?
  @options
end