class PBRT::Parameter

Public Class Methods

new(type, name) click to toggle source
# File lib/pbrt/parameter.rb, line 3
def initialize(type, name)
  @type = type
  @name = name
end

Public Instance Methods

to_s() click to toggle source
# File lib/pbrt/parameter.rb, line 8
def to_s
  %("#@type #@name")
end