private RubyView GetView(string virtualPath, RubyView masterView) { if (String.IsNullOrEmpty(virtualPath)) return null; return new RubyView(_rubyEngine, GetContents(virtualPath), masterView); }
private RubyView GetView(string virtualPath, RubyView masterView) { if (String.IsNullOrEmpty(virtualPath)) { return(null); } return(new RubyView(_rubyEngine, GetContents(virtualPath), masterView)); }
public RubyView(IRubyEngine rubyEngine, string viewContents, RubyView master) { _rubyEngine = rubyEngine; _master = master; _contents = viewContents; }