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