Parent

Methods

Visage::Types

Attributes

types[R]

Public Class Methods

new(opts={}) click to toggle source
# File lib/visage-app/types.rb, line 7
def initialize(opts={})
  @filename = opts[:filename] || "/usr/share/collectd/types.db"
  @types    = []
  build
end

Public Instance Methods

to_json() click to toggle source
# File lib/visage-app/types.rb, line 13
def to_json
  @types.to_json
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.