class Rucc::Keyword

Attributes

str[R]

Public Class Methods

new(str, is_type) click to toggle source
# File lib/rucc/keyword.rb, line 3
def initialize(str, is_type)
  @str = str
  @is_type = is_type
end

Public Instance Methods

is_type?() click to toggle source
# File lib/rucc/keyword.rb, line 9
def is_type?
  @is_type
end
to_s() click to toggle source
# File lib/rucc/keyword.rb, line 13
def to_s
  @str
end