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.14.0 lib/honeydew/dsl.rb