Class: LiveAST::Cache
- Inherits:
-
Object
- Object
- LiveAST::Cache
- Defined in:
- lib/live_ast/linker.rb
Instance Method Summary collapse
- #fetch_ast(line) ⇒ Object
-
#initialize(*args) ⇒ Cache
constructor
A new instance of Cache.
Constructor Details
#initialize(*args) ⇒ Cache
Returns a new instance of Cache.
5 6 7 8 |
# File 'lib/live_ast/linker.rb', line 5 def initialize(*args) @source, @user_line = args @asts = nil end |