module Bashly::Script::Introspection::Visibility
Public Instance Methods
visibility()
click to toggle source
Returns :public, :private, or :semi_private based on the `private` option of the host, in conjunction with `Settings.private_reveal_key`.
# File lib/bashly/script/introspection/visibility.rb, line 7 def visibility if !options['private'] :public elsif Settings.private_reveal_key :semi_private else :private end end