Class: Typstify::Resolver::Resolution

Inherits:
Struct
  • Object
show all
Defined in:
lib/typstify/resolver.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#modeObject

Returns the value of attribute mode

Returns:

  • (Object)

    the current value of mode



15
16
17
# File 'lib/typstify/resolver.rb', line 15

def mode
  @mode
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



15
16
17
# File 'lib/typstify/resolver.rb', line 15

def name
  @name
end

#pathObject

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



15
16
17
# File 'lib/typstify/resolver.rb', line 15

def path
  @path
end

Instance Method Details

#erb?Boolean

Returns:

  • (Boolean)


16
# File 'lib/typstify/resolver.rb', line 16

def erb? = mode == :erb