Sha256: 2955566a0b0510691ac2e37acfb2cf7e66fe2e7b960aa0c25db9f5f78d5631a9

Contents?: true

Size: 203 Bytes

Versions: 21

Compression:

Stored size: 203 Bytes

Contents

module Honeydew
  module DSL
    def use_device(name, serial = nil)
      define_singleton_method name.to_sym do |*args, &block|
        Honeydew.using_device(serial, &block)
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
honeydew-0.29.1 lib/honeydew/dsl.rb
honeydew-0.29.0 lib/honeydew/dsl.rb
honeydew-0.28.0 lib/honeydew/dsl.rb
honeydew-0.27.4 lib/honeydew/dsl.rb
honeydew-0.27.3 lib/honeydew/dsl.rb
honeydew-0.27.2 lib/honeydew/dsl.rb
honeydew-0.27.1 lib/honeydew/dsl.rb
honeydew-0.27.0 lib/honeydew/dsl.rb
honeydew-0.25.0 lib/honeydew/dsl.rb
honeydew-0.24.1 lib/honeydew/dsl.rb
honeydew-0.24.0 lib/honeydew/dsl.rb
honeydew-0.23.0 lib/honeydew/dsl.rb
honeydew-0.22.0 lib/honeydew/dsl.rb
honeydew-0.21.0 lib/honeydew/dsl.rb
honeydew-0.20.0 lib/honeydew/dsl.rb
honeydew-0.19.0 lib/honeydew/dsl.rb
honeydew-0.18.0 lib/honeydew/dsl.rb
honeydew-0.17.0 lib/honeydew/dsl.rb
honeydew-0.16.0 lib/honeydew/dsl.rb
honeydew-0.15.0 lib/honeydew/dsl.rb