Module: Sourcify
- Defined in:
- lib/sourcify.rb,
lib/sourcify/proc.rb,
lib/sourcify/version.rb,
lib/sourcify/proc/parser.rb,
lib/sourcify/proc/scanner.rb,
lib/sourcify/proc/methods/to_sexp.rb,
lib/sourcify/proc/scanner/comment.rb,
lib/sourcify/proc/scanner/counter.rb,
lib/sourcify/proc/scanner/dstring.rb,
lib/sourcify/proc/scanner/heredoc.rb,
lib/sourcify/proc/parser/converter.rb,
lib/sourcify/proc/methods/to_source.rb,
lib/sourcify/proc/parser/normalizer.rb,
lib/sourcify/proc/parser/source_code.rb,
lib/sourcify/proc/scanner/extensions.rb,
lib/sourcify/proc/parser/code_scanner.rb,
lib/sourcify/proc/methods/to_raw_source.rb,
lib/sourcify/proc/methods/source_location.rb
Overview
:nodoc:
Defined Under Namespace
Modules: Proc Classes: CannotHandleCreatedOnTheFlyProcError, CannotParseEvalCodeError, MultipleMatchingProcsPerLineError, NoMatchingProcError, ParserInternalError
Constant Summary collapse
- VERSION =
"0.5.0"
Class Method Summary collapse
Class Method Details
.require_rb(*args) ⇒ Object
17 18 19 |
# File 'lib/sourcify.rb', line 17 def require_rb(*args) require root(*args) end |
.root(*args) ⇒ Object
21 22 23 24 |
# File 'lib/sourcify.rb', line 21 def root(*args) @root ||= File.join(File.dirname(File.(__FILE__)), 'sourcify') File.join(@root, *args) end |