Sha256: 3e3523c0b7ef593c99a034f73a31bab80597e020cd9ece10578927389c9dc487

Contents?: true

Size: 486 Bytes

Versions: 4

Compression:

Stored size: 486 Bytes

Contents

# coding: utf-8

module ThinReports
  module Core::Shape
    
    class Basic::BlockInterface < Basic::Interface
      # @overload value(val)
      #   Set a val
      #   @param [Object] val
      #   @return [self]
      # @overload value
      #   Return the value
      #   @return [Object]
      def value(*args)
        if args.empty?
          internal.read_value
        else
          internal.write_value(args.first)
          self
        end
      end
    end
    
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
thinreports-0.7.7 lib/thinreports/core/shape/basic/block_interface.rb
thinreports-0.7.6 lib/thinreports/core/shape/basic/block_interface.rb
thinreports-0.7.5 lib/thinreports/core/shape/basic/block_interface.rb
thinreports-0.7.0 lib/thinreports/core/shape/basic/block_interface.rb