Sha256: ab5ae6b6d861d7daeb34c5d5b79194fc2405797f12ef961584481c30d34139fd

Contents?: true

Size: 169 Bytes

Versions: 5

Compression:

Stored size: 169 Bytes

Contents

# frozen_string_literal: true

module Staticky
  Environment = Data.define(:name) do
    def development? = name == :development
    def test? = name == :test
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
staticky-0.3.1 lib/staticky/environment.rb
staticky-0.3.0 lib/staticky/environment.rb
staticky-0.2.0 lib/staticky/environment.rb
staticky-0.1.1 lib/staticky/environment.rb
staticky-0.1.0 lib/staticky/environment.rb