Sha256: a6d0ffa1ab7ddaa3c06e46487eee45fbf53a7f4bf08e05625e6a2a174e81f8e9

Contents?: true

Size: 937 Bytes

Versions: 5

Compression:

Stored size: 937 Bytes

Contents

module Pione
  module Global
    # This is a begin number of port range for pione-interactive's front.
    define_external_item(:interactive_front_port_range_begin) do |item|
      item.desc = "start port number of interactive front"
      item.init = 40900
    end

    # This is an end number of port range for pione-interactive's front.
    define_external_item(:interactive_front_port_range_end) do |item|
      item.desc = "end port number of interactive front"
      item.init = 40999
    end

    # This is port range for pione-interactive's front.
    define_computed_item(:interactive_front_port_range, [:interactive_front_port_range_begin, :interactive_front_port_range_end]) do |item|
      item.desc = "port range of interactive front"
      item.define_updater do
        Range.new(
          Global.interactive_front_port_range_begin,
          Global.interactive_front_port_range_end
        )
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
pione-0.5.0 lib/pione/global/interactive-variable.rb
pione-0.5.0.alpha.2 lib/pione/global/interactive-variable.rb
pione-0.5.0.alpha.1 lib/pione/global/interactive-variable.rb
pione-0.4.2 lib/pione/global/interactive-variable.rb
pione-0.4.1 lib/pione/global/interactive-variable.rb