class Parlour::Types::Raw

A basic type as a raw string.

Attributes

str[R]

Public Class Methods

new(str) click to toggle source
# File lib/parlour/types.rb, line 47
def initialize(str)
  @str = str
end

Public Instance Methods

==(other) click to toggle source
# File lib/parlour/types.rb, line 55
def ==(other)
  Raw === other && str == other.str
end
describe() click to toggle source
# File lib/parlour/types.rb, line 70
def describe
  str
end
generate_rbi() click to toggle source
# File lib/parlour/types.rb, line 60
def generate_rbi
  str
end
generate_rbs() click to toggle source
# File lib/parlour/types.rb, line 65
def generate_rbs
  str
end