Class: MarshalParser::Formatters::AST::Renderers::EntriesBlock

Inherits:
Object
  • Object
show all
Defined in:
lib/marshal-parser/formatters/ast/renderers/entries_block.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(entries) ⇒ EntriesBlock

Returns a new instance of EntriesBlock.



10
11
12
# File 'lib/marshal-parser/formatters/ast/renderers/entries_block.rb', line 10

def initialize(entries)
  @entries = entries
end

Instance Attribute Details

#entriesObject (readonly)

Returns the value of attribute entries.



8
9
10
# File 'lib/marshal-parser/formatters/ast/renderers/entries_block.rb', line 8

def entries
  @entries
end