Module: Tins

Defined in:
lib/tins.rb,
lib/tins/p.rb,
lib/tins/go.rb,
lib/tins/to.rb,
lib/tins/xt.rb,
lib/tins/find.rb,
lib/tins/null.rb,
lib/tins/once.rb,
lib/tins/xt/p.rb,
lib/tins/token.rb,
lib/tins/write.rb,
lib/tins/xt/to.rb,
lib/tins/dslkit.rb,
lib/tins/expose.rb,
lib/tins/xt/irb.rb,
lib/tins/attempt.rb,
lib/tins/concern.rb,
lib/tins/limited.rb,
lib/tins/memoize.rb,
lib/tins/subhash.rb,
lib/tins/temp_io.rb,
lib/tins/to_proc.rb,
lib/tins/uniq_by.rb,
lib/tins/version.rb,
lib/tins/xt/full.rb,
lib/tins/xt/null.rb,
lib/tins/complete.rb,
lib/tins/count_by.rb,
lib/tins/deep_dup.rb,
lib/tins/duration.rb,
lib/tins/hash_bfs.rb,
lib/tins/minimize.rb,
lib/tins/terminal.rb,
lib/tins/xt/blank.rb,
lib/tins/xt/write.rb,
lib/tins/bijection.rb,
lib/tins/deprecate.rb,
lib/tins/generator.rb,
lib/tins/implement.rb,
lib/tins/lru_cache.rb,
lib/tins/named_set.rb,
lib/tins/xt/dslkit.rb,
lib/tins/xt/string.rb,
lib/tins/date_dummy.rb,
lib/tins/hash_union.rb,
lib/tins/lines_file.rb,
lib/tins/range_plus.rb,
lib/tins/responding.rb,
lib/tins/time_dummy.rb,
lib/tins/xt/attempt.rb,
lib/tins/xt/concern.rb,
lib/tins/xt/subhash.rb,
lib/tins/xt/uniq_by.rb,
lib/tins/file_binary.rb,
lib/tins/xt/complete.rb,
lib/tins/xt/count_by.rb,
lib/tins/xt/deep_dup.rb,
lib/tins/xt/hash_bfs.rb,
lib/tins/ask_and_send.rb,
lib/tins/if_predicate.rb,
lib/tins/module_group.rb,
lib/tins/proc_compose.rb,
lib/tins/proc_prelude.rb,
lib/tins/secure_write.rb,
lib/tins/temp_io_enum.rb,
lib/tins/thread_local.rb,
lib/tins/require_maybe.rb,
lib/tins/xt/date_dummy.rb,
lib/tins/xt/hash_union.rb,
lib/tins/xt/range_plus.rb,
lib/tins/xt/responding.rb,
lib/tins/xt/time_dummy.rb,
lib/tins/case_predicate.rb,
lib/tins/deep_const_get.rb,
lib/tins/sexy_singleton.rb,
lib/tins/string_version.rb,
lib/tins/xt/file_binary.rb,
lib/tins/date_time_dummy.rb,
lib/tins/string_camelize.rb,
lib/tins/xt/ask_and_send.rb,
lib/tins/xt/if_predicate.rb,
lib/tins/xt/proc_compose.rb,
lib/tins/xt/proc_prelude.rb,
lib/tins/xt/secure_write.rb,
lib/tins/xt/require_maybe.rb,
lib/tins/string_underscore.rb,
lib/tins/xt/case_predicate.rb,
lib/tins/xt/deep_const_get.rb,
lib/tins/xt/sexy_singleton.rb,
lib/tins/xt/string_version.rb,
lib/tins/method_description.rb,
lib/tins/xt/date_time_dummy.rb,
lib/tins/xt/string_camelize.rb,
lib/tins/partial_application.rb,
lib/tins/xt/string_underscore.rb,
lib/tins/xt/method_description.rb,
lib/tins/string_byte_order_mark.rb,
lib/tins/xt/partial_application.rb,
lib/tins/xt/string_byte_order_mark.rb,
lib/tins/extract_last_argument_options.rb,
lib/tins/hash_symbolize_keys_recursive.rb,
lib/tins/xt/extract_last_argument_options.rb,
lib/tins/xt/hash_symbolize_keys_recursive.rb

Defined Under Namespace

Modules: Annotate, AskAndSend, Attempt, Blank, BlankSlate, BlockSelf, CasePredicate, ClassMethod, Complete, Concern, Constant, ConstantMaker, CountBy, DSLAccessor, DateDummy, DateTimeDummy, DeepConstGet, DeepDup, Deflect, Delegate, Deprecate, DynamicScope, Eigenclass, Expose, ExtractLastArgumentOptions, FileBinary, Find, FromModule, Full, GO, HashBFS, HashSymbolizeKeysRecursive, HashUnion, IfPredicate, Implement, InstanceExec, Interpreter, Memoize, MethodDescription, MethodMissingDelegator, Minimize, ModuleGroup, Null, Once, P, ParameterizedModule, PartialApplication, ProcCompose, ProcPrelude, RangePlus, RequireMaybe, Responding, Scope, SecureWrite, SexySingleton, StringByteOrderMark, StringCamelize, StringUnderscore, StringVersion, Subhash, SymbolMaker, TempIO, Terminal, ThreadGlobal, ThreadLocal, TimeDummy, TimeFreezer, To, ToProc, UniqBy, Unit, Write Classes: Bijection, Duration, Generator, LRUCache, Limited, LinesFile, NamedSet, NullClass, NullPlus, Token

Constant Summary collapse

NULL =
NullClass.new
IRB =
::IRB
VERSION =

Tins version

'1.36.1'
VERSION_ARRAY =

:nodoc:

VERSION.split('.').map(&:to_i)
VERSION_MAJOR =

:nodoc:

VERSION_ARRAY[0]
VERSION_MINOR =

:nodoc:

VERSION_ARRAY[1]
VERSION_BUILD =

:nodoc:

VERSION_ARRAY[2]

Class Method Summary collapse

Class Method Details

.StringVersion(string) ⇒ Object



107
108
109
# File 'lib/tins/string_version.rb', line 107

def self.StringVersion(string)
  StringVersion::Version.new(string.to_str)
end