Class: Bparity::Boundary::FormalDsl
- Inherits:
-
Object
- Object
- Bparity::Boundary::FormalDsl
- Defined in:
- lib/bparity/boundary.rb
Instance Method Summary collapse
- #bounded_scope(**scope) ⇒ Object
-
#initialize(config) ⇒ FormalDsl
constructor
A new instance of FormalDsl.
- #lts_learning(mode) ⇒ Object
- #pure_fragment(name) ⇒ Object
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 |