Sha256: 01eeb85a719761dc602ab54b742a80f9b7dd115dc65e9bf7aa5f3e3a76ebb579

Contents?: true

Size: 355 Bytes

Versions: 2

Compression:

Stored size: 355 Bytes

Contents

# coding: utf-8
# frozen_string_literal: true

################################################
# © Alexander Semyonov, 2011—2013, MIT License #
# Author: Alexander Semyonov <al@semyonov.us>  #
################################################

class Symbol
  def self.from_xommelier(value)
    value.to_sym
  end

  def to_xommelier
    to_s
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
xommelier-0.1.34 lib/xommelier/core_ext/symbol.rb
xommelier-0.1.33 lib/xommelier/core_ext/symbol.rb