mirror of
https://github.com/kemko/liquid.git
synced 2026-01-06 02:05:41 +03:00
Expose name, lookups, and command flags from VariableLookup
This commit is contained in:
@@ -3,6 +3,8 @@ module Liquid
|
||||
SQUARE_BRACKETED = /\A\[(.*)\]\z/m
|
||||
COMMAND_METHODS = ['size'.freeze, 'first'.freeze, 'last'.freeze]
|
||||
|
||||
attr_reader :name, :lookups, :command_flags
|
||||
|
||||
def self.parse(markup)
|
||||
new(markup)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user