class Interscript::DSL::Tests

Attributes

node[RW]

Public Class Methods

new(&block) click to toggle source
# File lib/interscript/dsl/tests.rb, line 4
def initialize(&block)
  @node = Interscript::Node::Tests.new
  self.instance_exec(&block)
end

Public Instance Methods

test(from, to, reverse_run: nil) click to toggle source
# File lib/interscript/dsl/tests.rb, line 9
def test(from, to, reverse_run: nil)
  @node << [from, to, reverse_run]
end