Sha256: 4b77b90b3e04dfe053e0f92b8130e7de7929ea3bd543870477f3d5c6e6f18097

Contents?: true

Size: 310 Bytes

Versions: 3

Compression:

Stored size: 310 Bytes

Contents

module Furter
  module Accessors
    class Button < View
      private
      def view_class
        case
          when @locator[:type]
            "view:'#{@locator[:type]}'"
          when @locator[:text]
            "button label"
          else
            "button"
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
furter-0.0.3.2 lib/furter/accessors/button.rb
furter-0.0.3.1 lib/furter/accessors/button.rb
furter-0.0.3 lib/furter/accessors/button.rb