Module: Amiba::Generator::ClassMethods

Defined in:
lib/amiba.rb

Instance Method Summary collapse

Instance Method Details

#default_source_rootObject



25
26
27
# File 'lib/amiba.rb', line 25

def default_source_root
  File.dirname(File.expand_path(File.join(__FILE__, "..")))
end

#source_root(path = nil) ⇒ Object



21
22
23
# File 'lib/amiba.rb', line 21

def source_root(path = nil)
  default_source_root
end