Module: Nesta

Defined in:
lib/nesta.rb,
lib/nesta/app.rb,
lib/nesta/env.rb,
lib/nesta/path.rb,
lib/nesta/config.rb,
lib/nesta/models.rb,
lib/nesta/plugin.rb,
lib/nesta/helpers.rb,
lib/nesta/version.rb,
lib/nesta/commands.rb,
lib/nesta/overrides.rb,
lib/nesta/navigation.rb

Defined Under Namespace

Modules: Commands, Navigation, Overrides, Plugin, View Classes: App, Config, Env, FileModel, HeadingNotSet, LinkTextNotSet, Menu, MetadataParseError, Page, Path

Constant Summary collapse

VERSION =
'0.10.0'

Class Method Summary collapse

Class Method Details

.deprecated(name, message) ⇒ Object



2
3
4
5
6
# File 'lib/nesta.rb', line 2

def self.deprecated(name, message)
  if Nesta::App.environment != :test
    $stderr.puts "DEPRECATION WARNING: #{name} is deprecated; #{message}"
  end
end