Method: CodeRay::Encoders::Encoder#<<

Defined in:
lib/coderay/encoder.rb

#<<(token) ⇒ Object



98
99
100
101
102
103
104
# File 'lib/coderay/encoder.rb', line 98

def << token
  unless @@CODERAY_TOKEN_INTERFACE_DEPRECATION_WARNING_GIVEN
    warn 'Using old Tokens#<< interface.'
    @@CODERAY_TOKEN_INTERFACE_DEPRECATION_WARNING_GIVEN = true
  end
  self.token(*token)
end