class Lono::AppFile::Base
Public Class Methods
new(options={})
click to toggle source
Override Thor::Base initialize
# File lib/lono/app_file/base.rb, line 9 def initialize(options={}) reinitialize(options) initialize_variables end
Public Instance Methods
initialize_variables()
click to toggle source
# File lib/lono/app_file/base.rb, line 14 def initialize_variables end
Private Instance Methods
override_source_paths(*paths)
click to toggle source
Hack Thor
to be able to dynamically set the source_paths at runtime instance methods
# File lib/lono/app_file/base.rb, line 19 def override_source_paths(*paths) # Using string with instance_eval because block doesnt have access to path at runtime. self.class.instance_eval %{ def self.source_paths #{paths.flatten.inspect} end } end