Module: Rubyst
- Defined in:
- lib/rubyst.rb,
lib/rubyst/version.rb
Overview
Rubyst
Constant Summary collapse
- MAJOR =
x.0.0 changes that will break existing users code if they update
0
- MINOR =
0.x.0 changes, such as new functionality/features
0
- PATCH =
0.0.x changes, such as small bug fixes
2
- VERSION =
Version
"#{MAJOR}.#{MINOR}.#{PATCH}".freeze
Class Method Summary collapse
Class Method Details
.run ⇒ Object
5 6 7 8 9 10 11 12 13 |
# File 'lib/rubyst.rb', line 5 def self.run puts 'Run [rubocop]:' rubocop = `rubocop` if rubocop.lines("\n").length <= 4 puts 'Okay all' else puts rubocop end end |