Module: Gisele::Analysis::Mixin

Defined in:
lib/gisele/analysis/mixin.rb,
lib/gisele/analysis/mixin/vars_holder.rb,
lib/gisele/analysis/mixin/bdd_management.rb

Defined Under Namespace

Modules: BddManagement, VarsHolder

Class Method Summary collapse

Class Method Details

.new(s, *mixins) ⇒ Object



6
7
8
9
10
11
# File 'lib/gisele/analysis/mixin.rb', line 6

def self.new(s, *mixins)
  Object.new.tap do |o|
    o.extend(*mixins)
    (class << o; self; end).send(:define_method, :session){ s }
  end
end