Method: Thor::Actions::ClassMethods#source_root

Defined in:
lib/thor/actions.rb

#source_root(path = nil) ⇒ Object

Stores and return the source root for this class



28
29
30
31
# File 'lib/thor/actions.rb', line 28

def source_root(path = nil)
  @_source_root = path if path
  @_source_root ||= nil
end