Module: Expressir::Liquid::IdentifierDrop

Instance Method Summary collapse

Instance Method Details

#idObject



12
13
14
# File 'lib/expressir/liquid/identifier_drop.rb', line 12

def id
  @model.id
end

#initialize_identifier(model) ⇒ Object



8
9
10
# File 'lib/expressir/liquid/identifier_drop.rb', line 8

def initialize_identifier(model)
  @model = model
end

#remark_itemsObject



20
21
22
23
24
25
26
# File 'lib/expressir/liquid/identifier_drop.rb', line 20

def remark_items
  return [] unless @model.remark_items

  @model.remark_items.map do |item|
    ::Expressir::Liquid::RemarkItemDrop.new(item)
  end
end

#remarksObject



16
17
18
# File 'lib/expressir/liquid/identifier_drop.rb', line 16

def remarks
  @model.remarks || []
end

#sourceObject



28
29
30
# File 'lib/expressir/liquid/identifier_drop.rb', line 28

def source
  @model.source
end