Sha256: c033e7438a7508a44549c8916c383b4e3932742e2c926aeb67d3e5fb83795adf

Contents?: true

Size: 291 Bytes

Versions: 1

Compression:

Stored size: 291 Bytes

Contents

class SmartDriver
  module CommonInterface
    def to_html
      attribute("outerHTML")
    end

    private
      def logging(sym, text)
        label = case sym
        when :info then "INFO"
        when :fail then "FAIL"
        end
        puts "[#{label}] #{text}"
      end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
smart_driver-1.1.2 lib/smart_driver/common_interface.rb