Sha256: 537a0fd2b93e4476db13fe10e3a33419f13f3fce2c370f8f2ef12337f5f277bc
Contents?: true
Size: 390 Bytes
Versions: 5
Compression:
Stored size: 390 Bytes
Contents
require "active_support/concern" module FlexStationData module Concerns module Service extend ActiveSupport::Concern def to_proc Proc.new(&method(:call)) end class_methods do def call(*args, &block) new(*args).call(&block) end def to_proc Proc.new(&method(:call)) end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems