Sha256: fa5d8bb948769d48edfa2cb461470f2927539fc828a7e616899e605af36ed9ef
Contents?: true
Size: 357 Bytes
Versions: 1
Compression:
Stored size: 357 Bytes
Contents
# encoding: utf-8 require 'metasyntactic_variable' # Symbol class Symbol # is meta variable. # # ==== Examples # # :foo.meta_variable? # => true # :bar.meta_variable? # => true # :baz.meta_variable? # => true # :aaa.meta_variable? # => false # def meta_variable? MetasyntacticVariable.meta_variables.include? self end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tbpgr_utils-0.0.151 | lib/open_classes/symbol/is_meta_variable.rb |