class ThinpXML::ConstDistribution

Public Class Methods

new(v) click to toggle source
# File lib/thinp_xml/distribution.rb, line 11
def initialize(v)
  raise "ConstDistribution must be constructed with an integer" if !v.kind_of?(Integer)
  @v = v
end

Public Instance Methods

generate() click to toggle source
# File lib/thinp_xml/distribution.rb, line 16
def generate
  @v
end