Class: Defoker::Dsl

Inherits:
Object
  • Object
show all
Defined in:
lib/defoker_dsl.rb

Overview

Dsl

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeDsl

Returns a new instance of Dsl.



16
17
18
19
20
21
# File 'lib/defoker_dsl.rb', line 16

def initialize
  @defoker = Defoker::DslModel.new
  @defoker.type = ''
  @defoker.base = ''
  @defoker.callback = nil
end

Instance Attribute Details

#defokerObject

Returns the value of attribute defoker.



7
8
9
# File 'lib/defoker_dsl.rb', line 7

def defoker
  @defoker
end