summaryrefslogtreecommitdiff
path: root/lib/oxidized/source/sql.rb
diff options
context:
space:
mode:
authorSaku Ytti <saku@ytti.fi>2013-04-21 17:31:29 +0300
committerSaku Ytti <saku@ytti.fi>2013-04-21 17:31:29 +0300
commite5ed57cbc77b241e93942af22b1d90efcfe1267f (patch)
treed283c3300cf48beb38a0bd709ce919125c639e24 /lib/oxidized/source/sql.rb
parentf715a419196c65ee0cc3b7d9e346aa2512c0cd21 (diff)
Run 'main' method if it exists
Gives alternative, maybe less awkward way to do conditional commands. You can first use cmd methods to gather stuff you want, then in main method you could conditional to things based on them, maybe futher call methods per model.
Diffstat (limited to 'lib/oxidized/source/sql.rb')
0 files changed, 0 insertions, 0 deletions