Sha256: bb90cb220deddbc4df397a26d1316f7ac3825a8b1c4f3e4f780bbd54c53e391f
Contents?: true
Size: 1.16 KB
Versions: 4
Compression:
Stored size: 1.16 KB
Contents
# encoding: utf-8 module FluentQuery ## # Represents general query token. # class Token ## # Name of the token. # @_name ## # Alias of the token. # @_alias ## # Arguments for the token. # @arguments attr_reader :arguments ## # Initializes token. # public def initialize(name, arguments) @_name = name @arguments = arguments end ## # Returns token name. # public def name if @_alias return @_alias else return @_name end end ## # Returns original token name. # public def original_name @_name end ## # Sets alias for token. # public def alias=(_alias) @_alias = _alias end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
fluent-query-0.9.5 | lib/fluent-query/token.rb |
fluent-query-0.9.3 | lib/fluent-query/token.rb |
fluent-query-0.9.1 | lib/fluent-query/token.rb |
fluent-query-0.9.0 | lib/fluent-query/token.rb |