class TricorderDSL

Public Class Methods

new() click to toggle source
# File lib/dsl/tricorder_dsl.rb, line 7
def initialize
  @error = false
  @results = []
  @search = []
  @operations = {}
  @page = 0
  @verbose = true
  @storedir = '/tmp'
  @tricorder = nil
  @info = {}
  @format = :plain
  @output = []
end

Public Instance Methods

method_missing(method, *args) click to toggle source
# File lib/dsl/tricorder_dsl.rb, line 21
def method_missing(method, *args)
  @operations[method] = args
  self
end