Module: Nesta

Defined in:
lib/nesta.rb,
lib/nesta/env.rb,
lib/nesta/app.rb,
lib/nesta/path.rb,
lib/nesta/config.rb,
lib/nesta/plugin.rb,
lib/nesta/models.rb,
lib/nesta/version.rb,
lib/nesta/helpers.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

VERSION =
'0.10.0'

Class Method Summary (collapse)

Class Method Details

+ (Object) deprecated(name, message)



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