Server context Vs Location context

Is there any way to check in a command’s set function if the command was
invoked i.e. the command was called from server context or location
context. For example, if I write a command that can be used both in
context and location context, is there a way to differentiate from where
was called in my function that sets up the configuration?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs