Sha256: 5f8d49b03301882daaaea59e766b83f6f299ef2467521d7512aa49dfdf39bacb

Contents?: true

Size: 217 Bytes

Versions: 3

Compression:

Stored size: 217 Bytes

Contents

module Rocx
  module Properties
    class Style < ValueProperty

      def valid?
        !value.nil?
      end

      def invalid_message
        "Invalid #{name}: value must not be nil"
      end

    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rocx-0.7.0 lib/rocx/properties/style.rb
rocx-0.6.0 lib/rocx/properties/style.rb
rocx-0.5.8 lib/rocx/properties/style.rb