Class: Bparity::Boundary::FormalDsl

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

Instance Method Summary collapse

Constructor Details

#initialize(config) ⇒ FormalDsl

Returns a new instance of FormalDsl.



88
89
90
# File 'lib/bparity/boundary.rb', line 88

def initialize(config)
  @config = config
end

Instance Method Details

#bounded_scope(**scope) ⇒ Object



93
# File 'lib/bparity/boundary.rb', line 93

def bounded_scope(**scope) = @config[:bounded_scope] = scope

#lts_learning(mode) ⇒ Object



94
# File 'lib/bparity/boundary.rb', line 94

def lts_learning(mode) = @config[:lts_learning] = mode

#pure_fragment(name) ⇒ Object



92
# File 'lib/bparity/boundary.rb', line 92

def pure_fragment(name) = (@config[:pure_fragments] ||= []) << name