Sha256: f1bddeff7e00f03654e836868b0c13b395512a0e4ad484701f171c9c97d79d4c

Contents?: true

Size: 437 Bytes

Versions: 8

Compression:

Stored size: 437 Bytes

Contents

module PolyglotIos
  module Serializer
    module Source
      class TranslationCase
        include Helper::General

        attr_accessor :name
        attr_accessor :value

        def initialize(name, value)
          @name = name
          @value = value
        end

        def serialized()
          clean_name = clean_case_name(name)
          "case #{clean_name} = \"#{value}\""
        end
        
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ios_polyglot_cli-2.4.0 lib/ios_polyglot_cli/serializers/sources/swift_helpers/translation_case.rb
ios_polyglot_cli-2.3.0 lib/ios_polyglot_cli/serializers/sources/swift_helpers/translation_case.rb
ios_polyglot_cli-2.2.2 lib/ios_polyglot_cli/serializers/sources/swift_helpers/translation_case.rb
ios_polyglot_cli-2.2.1 lib/ios_polyglot_cli/serializers/sources/swift_helpers/translation_case.rb
ios_polyglot_cli-2.2.0 lib/ios_polyglot_cli/serializers/sources/swift_helpers/translation_case.rb
ios_polyglot_cli-2.1.1 lib/ios_polyglot_cli/serializers/sources/swift_helpers/translation_case.rb
ios_polyglot_cli-2.1.0 lib/ios_polyglot_cli/serializers/sources/swift_helpers/translation_case.rb
ios_polyglot_cli-2.0.1 lib/ios_polyglot_cli/serializers/sources/swift_helpers/translation_case.rb