Class: Gemite::AST::StringLiteral

Inherits:
Struct
  • Object
show all
Defined in:
lib/gemite/ast.rb

Overview

parts: [:str, "text"] または [:expr, ast] の配列("#{}"補間対応)

Instance Attribute Summary collapse

Instance Attribute Details

#partsObject

Returns the value of attribute parts

Returns:

  • (Object)

    the current value of parts



9
10
11
# File 'lib/gemite/ast.rb', line 9

def parts
  @parts
end