Sha256: f988b29fe9ddb101b0a270fec506a718f5bc7962c295ff9fe826f7436c542def
Contents?: true
Size: 573 Bytes
Versions: 16
Compression:
Stored size: 573 Bytes
Contents
# frozen_string_literal: true # This module contains convenience methods that expose more directly the command options provided. module Fcom::OptionsHelpers private def author @options[:author] end def days @options[:days] end def ignore_case? @options.ignore_case? end def path @options[:path] end def regex_mode? @options.regex? end def debug? @options.debug? end def development? @options.development? end def repo @options[:repo] end def search_string @options.arguments.first end end
Version data entries
16 entries across 16 versions & 1 rubygems