dmorrill10-utils 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -13,15 +13,11 @@ module Script
13
13
  enforce_abstract __method__
14
14
  end
15
15
 
16
- def run_script
17
- enforce_abstract __method__
18
- end
19
-
20
16
  def run_script_if_run_as_script(file_being_run)
21
17
  return unless file_being_run == $0
22
18
 
23
19
  if proper_usage?
24
- run_script
20
+ yield
25
21
  else
26
22
  print_usage
27
23
  end
@@ -1,5 +1,5 @@
1
1
  module Dmorrill10
2
2
  module Utils
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dmorrill10-utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-06-19 00:00:00.000000000 Z
12
+ date: 2012-06-23 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Group of random Ruby mixin utility functions.
15
15
  email: