class Blender3d::Field

Attributes

name[R]
type[R]

Public Class Methods

new(type, name) click to toggle source
# File lib/blender-3d/field.rb, line 5
def initialize(type, name)
  @type, @name = type, name.to_sym
end

Public Instance Methods

inspect() click to toggle source
# File lib/blender-3d/field.rb, line 13
def inspect
  "#{@type.inspect} #@name"
end
to_s() click to toggle source
# File lib/blender-3d/field.rb, line 9
def to_s
  "Field[#@name](#@type)"
end